//
//  XHImageViewCell.m
//  testApp
//
//  Created by ColdMountain on 2017/3/4.
//  Copyright © 2017年 ColdMountain. All rights reserved.
//

#import "XHImageViewCell.h"
#import <UIImageView+CornerRadius.h>

@implementation XHImageViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
//    [self.ui_imageView zy_cornerRadiusAdvance:70 rectCornerType:UIRectCornerAllCorners];
//    [self.ui_imageView1 zy_cornerRadiusAdvance:70 rectCornerType:UIRectCornerAllCorners];
//    [self.ui_imageView2 zy_cornerRadiusAdvance:70 rectCornerType:UIRectCornerAllCorners];
//    [self.ui_imageView3 zy_cornerRadiusAdvance:70 rectCornerType:UIRectCornerAllCorners];
//    self.ui_imageView.layer.masksToBounds=YES;
//    self.ui_imageView.layer.cornerRadius=50;
    
//    UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:self.ui_imageView.bounds byRoundingCorners:UIRectCornerAllCorners cornerRadii:self.ui_imageView.bounds.size];
//    
//    CAShapeLayer *maskLayer = [[CAShapeLayer alloc]init];
//    //设置大小
//    maskLayer.frame = self.ui_imageView.bounds;
//    //设置图形样子
//    maskLayer.path = maskPath.CGPath;
//    self.ui_imageView.layer.mask = maskLayer;
   
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    [self.contentView layoutSubviews];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
